using System;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Text;

namespace Alogient.Cameleon.Forms.Sdk.Items
{
    public class Upload : FormElement
    {
        public int MinFileSize
        {
            get
            {
                if (_long1 == null)
                    return 0;
                return (int)_long1;
            }
        }
        public int MaxFileSize
        {
            get
            {
                if (_long2 == null)
                    return -1;
                return (int)_long2;
            }
        }
        public string FileTypeWhiteList { get { return _text1; } }
        public string FileTypeBlackList { get { return _text2; } }

        public Upload(int id, string cultureCode) : base(id, cultureCode) { }
    }
}
